package com.unicom.priceboard.data.vo;

/**
 * @author Quan
 * @description this class is used for describing an element <STOCK> in SECURITY.DAT file
 */
public class SecurityElement{
	
	private Short stockNo;
	private String symbolCode;
	private int priorClosePrice;
	private Integer ceiling;
	private Integer floor;
	private Integer priceOne=0;
	private Integer volOne=0;
	private Integer priceTwo=0;
	private Integer volTwo=0;
	private Integer best3Bid;
	private Integer best3BidVolume;
	private Integer best2Bid;
	private Integer best2BidVolume;
	private Integer best1Bid;
	private Integer best1BidVolume;
	private Integer price = 0;
	private Integer vol = 0;	
	private Integer change;
	private Integer best1Offer;
	private Integer best1OfferVolume;
	private Integer best2Offer;
	private Integer best2OfferVolume;
	private Integer best3Offer;
	private Integer best3OfferVolume;
    private Double bigLotValue;
    private String securityName; // As String * 25
    private Character sectorNo;
    private Character designated;
    private Character suspension;
    private Character delist;
    private Character haltResumeFlag;
    private Character split;
    private Character benefit;
    private Character meeting;
    private Character notice;
    private Character clientIdRequired;
    private Short couponRate;
    private String issueDate; // As String * 6
    private String matureDate; // As String * 6
    private Integer avrPrice;
    private Short parValue;
    private Character sdcFlag;
    
   
    private Character stockType;
    private String priorCloseDate; // As String * 6
    private Integer projectOpen;
    private Integer openPrice;
    private Integer last;
    private Integer lastVol;
    private Double lastVal;
    private Integer highest;
    private Integer lowest;
    private Double totalShares;
    private Double totalValue;
    private Short accumulateDeal;
    private Short bigDeal;
    private Integer bigVolume;
    private Double bigValue;
    private Short oddDeal;
    private Integer oddVolume;
    private Double oddValue;
 
    private Short boardLost;
	/**
	 * @return the accumulateDeal
	 */
	public Short getAccumulateDeal() {
		return accumulateDeal;
	}
	/**
	 * @param accumulateDeal the accumulateDeal to set
	 */
	public void setAccumulateDeal(Short accumulateDeal) {
		this.accumulateDeal = accumulateDeal;
	}
	/**
	 * @return the avrPrice
	 */
	public Integer getAvrPrice() {
		return avrPrice;
	}
	/**
	 * @param avrPrice the avrPrice to set
	 */
	public void setAvrPrice(Integer avrPrice) {
		this.avrPrice = avrPrice;
	}
	/**
	 * @return the benefit
	 */
	public Character getBenefit() {
		return benefit;
	}
	/**
	 * @param benefit the benefit to set
	 */
	public void setBenefit(Character benefit) {
		this.benefit = benefit;
	}
	/**
	 * @return the best1Bid
	 */
	public Integer getBest1Bid() {
		return best1Bid;
	}
	/**
	 * @param best1Bid the best1Bid to set
	 */
	public void setBest1Bid(Integer best1Bid) {
		this.best1Bid = best1Bid;
	}
	/**
	 * @return the best1BidVolume
	 */
	public Integer getBest1BidVolume() {
		return best1BidVolume;
	}
	/**
	 * @param best1BidVolume the best1BidVolume to set
	 */
	public void setBest1BidVolume(Integer best1BidVolume) {
		this.best1BidVolume = best1BidVolume;
	}
	/**
	 * @return the best1Offer
	 */
	public Integer getBest1Offer() {
		return best1Offer;
	}
	/**
	 * @param best1Offer the best1Offer to set
	 */
	public void setBest1Offer(Integer best1Offer) {
		this.best1Offer = best1Offer;
	}
	/**
	 * @return the best1OfferVolume
	 */
	public Integer getBest1OfferVolume() {
		return best1OfferVolume;
	}
	/**
	 * @param best1OfferVolume the best1OfferVolume to set
	 */
	public void setBest1OfferVolume(Integer best1OfferVolume) {
		this.best1OfferVolume = best1OfferVolume;
	}
	/**
	 * @return the best2Bid
	 */
	public Integer getBest2Bid() {
		return best2Bid;
	}
	/**
	 * @param best2Bid the best2Bid to set
	 */
	public void setBest2Bid(Integer best2Bid) {
		this.best2Bid = best2Bid;
	}
	/**
	 * @return the best2BidVolume
	 */
	public Integer getBest2BidVolume() {
		return best2BidVolume;
	}
	/**
	 * @param best2BidVolume the best2BidVolume to set
	 */
	public void setBest2BidVolume(Integer best2BidVolume) {
		this.best2BidVolume = best2BidVolume;
	}
	/**
	 * @return the best2Offer
	 */
	public Integer getBest2Offer() {
		return best2Offer;
	}
	/**
	 * @param best2Offer the best2Offer to set
	 */
	public void setBest2Offer(Integer best2Offer) {
		this.best2Offer = best2Offer;
	}
	/**
	 * @return the best2OfferVolume
	 */
	public Integer getBest2OfferVolume() {
		return best2OfferVolume;
	}
	/**
	 * @param best2OfferVolume the best2OfferVolume to set
	 */
	public void setBest2OfferVolume(Integer best2OfferVolume) {
		this.best2OfferVolume = best2OfferVolume;
	}
	/**
	 * @return the best3Bid
	 */
	public Integer getBest3Bid() {
		return best3Bid;
	}
	/**
	 * @param best3Bid the best3Bid to set
	 */
	public void setBest3Bid(Integer best3Bid) {
		this.best3Bid = best3Bid;
	}
	/**
	 * @return the best3BidVolume
	 */
	public Integer getBest3BidVolume() {
		return best3BidVolume;
	}
	/**
	 * @param best3BidVolume the best3BidVolume to set
	 */
	public void setBest3BidVolume(Integer best3BidVolume) {
		this.best3BidVolume = best3BidVolume;
	}
	/**
	 * @return the best3Offer
	 */
	public Integer getBest3Offer() {
		return best3Offer;
	}
	/**
	 * @param best3Offer the best3Offer to set
	 */
	public void setBest3Offer(Integer best3Offer) {
		this.best3Offer = best3Offer;
	}
	/**
	 * @return the best3OfferVolume
	 */
	public Integer getBest3OfferVolume() {
		return best3OfferVolume;
	}
	/**
	 * @param best3OfferVolume the best3OfferVolume to set
	 */
	public void setBest3OfferVolume(Integer best3OfferVolume) {
		this.best3OfferVolume = best3OfferVolume;
	}
	/**
	 * @return the bigDeal
	 */
	public Short getBigDeal() {
		return bigDeal;
	}
	/**
	 * @param bigDeal the bigDeal to set
	 */
	public void setBigDeal(Short bigDeal) {
		this.bigDeal = bigDeal;
	}
	/**
	 * @return the bigLotValue
	 */
	public Double getBigLotValue() {
		return bigLotValue;
	}
	/**
	 * @param bigLotValue the bigLotValue to set
	 */
	public void setBigLotValue(Double bigLotValue) {
		this.bigLotValue = bigLotValue;
	}
	/**
	 * @return the bigValue
	 */
	public Double getBigValue() {
		return bigValue;
	}
	/**
	 * @param bigValue the bigValue to set
	 */
	public void setBigValue(Double bigValue) {
		this.bigValue = bigValue;
	}
	/**
	 * @return the bigVolume
	 */
	public Integer getBigVolume() {
		return bigVolume;
	}
	/**
	 * @param bigVolume the bigVolume to set
	 */
	public void setBigVolume(Integer bigVolume) {
		this.bigVolume = bigVolume;
	}
	/**
	 * @return the boardLost
	 */
	public Short getBoardLost() {
		return boardLost;
	}
	/**
	 * @param boardLost the boardLost to set
	 */
	public void setBoardLost(Short boardLost) {
		this.boardLost = boardLost;
	}
	/**
	 * @return the ceiling
	 */
	public Integer getCeiling() {
		return ceiling;
	}
	/**
	 * @param ceiling the ceiling to set
	 */
	public void setCeiling(Integer ceiling) {
		this.ceiling = ceiling;
	}
	/**
	 * @return the clientIdRequired
	 */
	public Character getClientIdRequired() {
		return clientIdRequired;
	}
	/**
	 * @param clientIdRequired the clientIdRequired to set
	 */
	public void setClientIdRequired(Character clientIdRequired) {
		this.clientIdRequired = clientIdRequired;
	}
	/**
	 * @return the couponRate
	 */
	public Short getCouponRate() {
		return couponRate;
	}
	/**
	 * @param couponRate the couponRate to set
	 */
	public void setCouponRate(Short couponRate) {
		this.couponRate = couponRate;
	}
	/**
	 * @return the delist
	 */
	public Character getDelist() {
		return delist;
	}
	/**
	 * @param delist the delist to set
	 */
	public void setDelist(Character delist) {
		this.delist = delist;
	}
	/**
	 * @return the designated
	 */
	public Character getDesignated() {
		return designated;
	}
	/**
	 * @param designated the designated to set
	 */
	public void setDesignated(Character designated) {
		this.designated = designated;
	}
	/**
	 * @return the floor
	 */
	public Integer getFloor() {
		return floor;
	}
	/**
	 * @param floor the floor to set
	 */
	public void setFloor(Integer floor) {
		this.floor = floor;
	}
	/**
	 * @return the haltResumeFlag
	 */
	public Character getHaltResumeFlag() {
		return haltResumeFlag;
	}
	/**
	 * @param haltResumeFlag the haltResumeFlag to set
	 */
	public void setHaltResumeFlag(Character haltResumeFlag) {
		this.haltResumeFlag = haltResumeFlag;
	}
	/**
	 * @return the highest
	 */
	public Integer getHighest() {
		return highest;
	}
	/**
	 * @param highest the highest to set
	 */
	public void setHighest(Integer highest) {
		this.highest = highest;
	}
	/**
	 * @return the issueDate
	 */
	public String getIssueDate() {
		return issueDate;
	}
	/**
	 * @param issueDate the issueDate to set
	 */
	public void setIssueDate(String issueDate) {
		this.issueDate = issueDate;
	}
	/**
	 * @return the last
	 */
	public Integer getLast() {
		return last;
	}
	/**
	 * @param last the last to set
	 */
	public void setLast(Integer last) {
		this.last = last;
	}
	/**
	 * @return the lastVal
	 */
	public Double getLastVal() {
		return lastVal;
	}
	/**
	 * @param lastVal the lastVal to set
	 */
	public void setLastVal(Double lastVal) {
		this.lastVal = lastVal;
	}
	/**
	 * @return the lastVol
	 */
	public Integer getLastVol() {
		return lastVol;
	}
	/**
	 * @param lastVol the lastVol to set
	 */
	public void setLastVol(Integer lastVol) {
		this.lastVol = lastVol;
	}
	/**
	 * @return the lowest
	 */
	public Integer getLowest() {
		return lowest;
	}
	/**
	 * @param lowest the lowest to set
	 */
	public void setLowest(Integer lowest) {
		this.lowest = lowest;
	}
	/**
	 * @return the matureDate
	 */
	public String getMatureDate() {
		return matureDate;
	}
	/**
	 * @param matureDate the matureDate to set
	 */
	public void setMatureDate(String matureDate) {
		this.matureDate = matureDate;
	}
	/**
	 * @return the meeting
	 */
	public Character getMeeting() {
		return meeting;
	}
	/**
	 * @param meeting the meeting to set
	 */
	public void setMeeting(Character meeting) {
		this.meeting = meeting;
	}
	/**
	 * @return the notice
	 */
	public Character getNotice() {
		return notice;
	}
	/**
	 * @param notice the notice to set
	 */
	public void setNotice(Character notice) {
		this.notice = notice;
	}
	/**
	 * @return the oddDeal
	 */
	public Short getOddDeal() {
		return oddDeal;
	}
	/**
	 * @param oddDeal the oddDeal to set
	 */
	public void setOddDeal(Short oddDeal) {
		this.oddDeal = oddDeal;
	}
	/**
	 * @return the oddValue
	 */
	public Double getOddValue() {
		return oddValue;
	}
	/**
	 * @param oddValue the oddValue to set
	 */
	public void setOddValue(Double oddValue) {
		this.oddValue = oddValue;
	}
	/**
	 * @return the oddVolume
	 */
	public Integer getOddVolume() {
		return oddVolume;
	}
	/**
	 * @param oddVolume the oddVolume to set
	 */
	public void setOddVolume(Integer oddVolume) {
		this.oddVolume = oddVolume;
	}
	/**
	 * @return the openPrice
	 */
	public Integer getOpenPrice() {
		return openPrice;
	}
	/**
	 * @param openPrice the openPrice to set
	 */
	public void setOpenPrice(Integer openPrice) {
		this.openPrice = openPrice;
	}
	/**
	 * @return the parValue
	 */
	public Short getParValue() {
		return parValue;
	}
	/**
	 * @param parValue the parValue to set
	 */
	public void setParValue(Short parValue) {
		this.parValue = parValue;
	}
	/**
	 * @return the priorCloseDate
	 */
	public String getPriorCloseDate() {
		return priorCloseDate;
	}
	/**
	 * @param priorCloseDate the priorCloseDate to set
	 */
	public void setPriorCloseDate(String priorCloseDate) {
		this.priorCloseDate = priorCloseDate;
	}
	/**
	 * @return the priorClosePrice
	 */
	public Integer getPriorClosePrice() {
		return priorClosePrice;
	}
	/**
	 * @param priorClosePrice the priorClosePrice to set
	 */
	public void setPriorClosePrice(Integer priorClosePrice) {
		this.priorClosePrice = priorClosePrice;
	}
	/**
	 * @return the projectOpen
	 */
	public Integer getProjectOpen() {
		return projectOpen;
	}
	/**
	 * @param projectOpen the projectOpen to set
	 */
	public void setProjectOpen(Integer projectOpen) {
		this.projectOpen = projectOpen;
	}
	/**
	 * @return the sdcFlag
	 */
	public Character getSdcFlag() {
		return sdcFlag;
	}
	/**
	 * @param sdcFlag the sdcFlag to set
	 */
	public void setSdcFlag(Character sdcFlag) {
		this.sdcFlag = sdcFlag;
	}
	/**
	 * @return the sectorNo
	 */
	public Character getSectorNo() {
		return sectorNo;
	}
	/**
	 * @param sectorNo the sectorNo to set
	 */
	public void setSectorNo(Character sectorNo) {
		this.sectorNo = sectorNo;
	}
	/**
	 * @return the securityName
	 */
	public String getSecurityName() {
		return securityName;
	}
	/**
	 * @param securityName the securityName to set
	 */
	public void setSecurityName(String securityName) {
		securityName.replaceAll("&", "-");
		this.securityName = securityName;
	}
	/**
	 * @return the split
	 */
	public Character getSplit() {
		return split;
	}
	/**
	 * @param split the split to set
	 */
	public void setSplit(Character split) {
		this.split = split;
	}
	/**
	 * @return the stockNo
	 */
	public Short getStockNo() {
		return stockNo;
	}
	/**
	 * @param stockNo the stockNo to set
	 */
	public void setStockNo(Short stockNo) {
		this.stockNo = stockNo;
	}
	/**
	 * @return the stockSymbol
	 */
	public String getSymbolCode() {
		return symbolCode;
	}
	/**
	 * @param stockSymbol the stockSymbol to set
	 */
	public void setSymbolCode(String stockSymbol) {
		this.symbolCode = stockSymbol;
	}
	/**
	 * @return the stockType
	 */
	public Character getStockType() {
		return stockType;
	}
	/**
	 * @param stockType the stockType to set
	 */
	public void setStockType(Character stockType) {
		this.stockType = stockType;
	}
	/**
	 * @return the suspension
	 */
	public Character getSuspension() {
		return suspension;
	}
	/**
	 * @param suspension the suspension to set
	 */
	public void setSuspension(Character suspension) {
		this.suspension = suspension;
	}
	/**
	 * @return the totalShares
	 */
	public Double getTotalShares() {
		return totalShares;
	}
	/**
	 * @param totalShares the totalShares to set
	 */
	public void setTotalShares(Double totalShares) {
		this.totalShares = totalShares;
	}
	/**
	 * @return the totalValue
	 */
	public Double getTotalValue() {
		return totalValue;
	}
	/**
	 * @param totalValue the totalValue to set
	 */
	public void setTotalValue(Double totalValue) {
		this.totalValue = totalValue;
	}
	/**
	 * @return the price
	 */
	public Integer getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(Integer price) {
		this.price = price;
	}
	/**
	 * @return the priceOne
	 */
	public Integer getPriceOne() {
		return priceOne;
	}
	/**
	 * @param priceOne the priceOne to set
	 */
	public void setPriceOne(Integer priceOne) {
		this.priceOne = priceOne;
	}
	/**
	 * @return the priceTwo
	 */
	public Integer getPriceTwo() {
		return priceTwo;
	}
	/**
	 * @param priceTwo the priceTwo to set
	 */
	public void setPriceTwo(Integer priceTwo) {
		this.priceTwo = priceTwo;
	}
	/**
	 * @return the vol
	 */
	public Integer getVol() {
		return vol;
	}
	/**
	 * @param vol the vol to set
	 */
	public void setVol(Integer vol) {
		this.vol = vol;
	}
	/**
	 * @return the volOne
	 */
	public Integer getVolOne() {
		return volOne;
	}
	/**
	 * @param volOne the volOne to set
	 */
	public void setVolOne(Integer volOne) {
		this.volOne = volOne;
	}
	/**
	 * @return the volTwo
	 */
	public Integer getVolTwo() {
		return volTwo;
	}
	/**
	 * @param volTwo the volTwo to set
	 */
	public void setVolTwo(Integer volTwo) {
		this.volTwo = volTwo;
	}
	/**
	 * @param priorClosePrice the priorClosePrice to set
	 */
	public void setPriorClosePrice(int priorClosePrice) {
		this.priorClosePrice = priorClosePrice;
	}
	/**
	 * @return the change
	 */
	public int getChange() {
		return change;
	}
	/**
	 * @param change the change to set
	 */
	public void setChange(Integer change) {
		this.change = change;
	}

}
